def print_name(names=[]):
    while names:
        print("name: " + names.pop())


def print_hobby(dic={}):
    for name, hobby in dic.items():
        print('name: {0}, hobby: {1}'.format(name, hobby))
        dic[name] = hobby + '__show'


persons = ['tf', 'jxl']
print_name(persons[:])
print(persons)
print_name(persons)
print(persons)

persons2 = {
    'tf': 'ball',
    'jxl': 'movie'
}
print_hobby(persons2)
print(persons2)
